var listVol = new Array();

function Vol() {

	// Clé Métier pour la SAS
	this.idVol = "";

	this.identifiant = "";
	this.nom = "";
	this.numeroEtape = "";
	this.numeroMission = "";
	this.gdhDebut = moment();
	this.gdhFin = moment();

	this.compteMission = "";
	this.categorie = "";
	this.etat = "BR";
	this.nature = "";
	this.typeVol = "";
	this.regleVol = "";

	// Objects
	this.unite = new Unite();

	// Partie provenant du volAeronef dans le XML
	this.commentaires = "";
	// this.rangVolPatrouille;
	this.indicatif = "";

	// Objects
	this.listeDecollagesAtterrissages = new Array(new DecollageAtterissage(), new DecollageAtterissage());
	this.listeVolPersonnesBord = new Array();
	this.aeronef = new Aeronef();
	this.listeHeuresSAE = new Array();

	// Partie provenant du CRVolAeronef dans le XML
	this.manoeuvreMission = "";
	this.natureMission = "";
	this.typeMission = "";
	this.masseCarburantConsommee = "";

	this.populate = function(idVol, identifiant, nom, numeroEtape, numeroMission, gdhDebut, gdhFin, compteMission, categorie, etat, nature, typeVol, regleVol,unite,
			commentaires, indicatif, listeDecollagesAtterrissages, listeVolPersonnesBord, aeronef, listeHeuresSAE, manoeuvreMission, natureMission,
			typeMission, masseCarburantConsommee) {

		this.idVol = idVol;
		this.identifiant = identifiant;
		this.nom = nom;
		this.numeroEtape = numeroEtape;
		this.numeroMission = numeroMission;
		this.gdhDebut = gdhDebut;
		this.gdhFin = gdhFin;
		this.compteMission = compteMission;
		this.categorie = categorie;
		this.etat = etat;
		this.nature = nature;
		this.typeVol = typeVol;
		this.regleVol = regleVol;
		this.unite = unite;
		this.commentaires = commentaires;
		this.indicatif = indicatif;
		this.listeDecollagesAtterrissages = listeDecollagesAtterrissages;
		this.listeVolPersonnesBord = listeVolPersonnesBord;
		this.aeronef = aeronef;
		this.listeHeuresSAE = listeHeuresSAE;
		this.manoeuvreMission = manoeuvreMission;
		this.natureMission = natureMission;
		this.typeMission = typeMission;
		this.masseCarburantConsommee = masseCarburantConsommee;

	};
}